<?php
namespace app\index\controller;
use think\Controller;
class User extends  Controller
{
    public function index()
    {
        return $this->fetch();
    }
    public function login(){
        return $this->fetch();
    }
    public function logout(){
        $this->redirect(url('user/login'));
    }
}
